package chap1;

public class StaticExam1 {
	public static void main(String[] args) {
		int i = 10;
		int j = 20;
		String s_i = "20";
		String s_j = "30";
		i = Integer.parseInt(s_i);
		j = Integer.parseInt(s_j);
		System.out.println(i+j);//30-> 50
		System.out.println(Integer.parseInt(s_i)
				         +Integer.parseInt(s_j));//2030-> 50
		java.util.Random r = new java.util.Random();
		for(i=0;i<10;i=i+1){
			int r_i = r.nextInt(10);
			System.out.println(r_i);
		}
	}//end of main 
}//end of StaticExam1






